import sys

nums = [x for x in range(1000)]

new_nums = [x**2 for x in nums if x % 2 == 0]


print(sys.getsizeof(nums), "引用计算=", sys.getrefcount(nums))
